package com.qf.microuser.sign.controller;

import com.qf.common.core.common.R;
import com.qf.microuser.sign.service.SignService;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * --- 缘分让我们相遇乱世以外 ---
 *
 * @author SJY
 * 2024/12/30
 */
@RestController
@RequestMapping("/user")
public class SignController {
    @Resource
    private SignService signService;
    /**
     * 用户签到
     */
    @PostMapping("/sign")
    public R sign() {
        signService.sign2();
        return R.ok();
    }

    // /**
    //  * 用户签到2
    //  */
    // @PostMapping("/sign2")
    // public R sign2() {
    //     signService.sign2();
    //     return R.ok();
    // }
}
